import request from "@/utils/request.js";

/**
 * 列表查询
 * @param params
 */
export const channeChildPage = query => {
  return request({
    url: `/purchase/channel/manage/child/page/${query.fatherChannelTenantId}`,
    method: "get",
    params: query
  });
};

/**
 * 导出
 * @param params
 */
export const manageExport = query => {
  return request({
    url: `/purchase/channel/manage/child/export/${query.fatherChannelTenantId}`,
    method: "get",
    params: query,
    responseType: "blob"
  });
};
